# Common HTTP status codes
HTTP_400_BAD_REQUEST = 400
HTTP_404_NOT_FOUND = 404
HTTP_404_NOT_NOT_ACCEPTABLE = 406
HTTP_500_INTERNAL_SERVER_ERROR = 500

# Custom error codes and messages
ERROR_NODE_NOT_FOUND = {
    'code': HTTP_404_NOT_FOUND,
    'message': '找不到结点',
}

ERROR_QUESTION_INVALID = {
    'code': HTTP_404_NOT_NOT_ACCEPTABLE,
    'message': '不支持该类问题',
}

ERROR_INVALID_PARAMS = {
    'code': HTTP_400_BAD_REQUEST,
    'message': '传参错误',
}

# Add more error codes and messages as needed
